package com.probiz.estore.system.dao;

import java.util.List;

import com.probiz.estore.common.model.system.PaymentGateway;
import com.probiz.estore.core.dao.GenericDao;
/**
 * PaymentGateway Data Access Object (DAO) interface.
 * Developer introduced interfaces should be declared here. Won't get overwritten.
 */
public interface PaymentGatewayDao extends GenericDao<PaymentGateway> {

	/**
	 * get all by isAdded Status
	 * @param isAdd
	 * @return
	 */
	public List<PaymentGateway> getAllByIsAdd(Short isAdd);
	
	/**
	 * update isAdded status by paymentGatewayId
	 * @param paymentGatewayId
	 * @param isAdded 
	 *
	 */
	public void updateIsAddedStatus(Integer paymentGatewayId,Short isAdded);
	
	/**
	 * get vo by paymentGatewayCode
	 * @param paymentGatewayCode
	 * @return
	 */
	public PaymentGateway getByPaymentGatewayCode(String paymentGatewayCode);
}
